package zfbrouter

import (
	"github.com/gin-gonic/gin"
	"yundian/internel/app/handlers/pcl/admin/openinterface"
	"yundian/internel/app/middlewares"
	"yundian/internel/pkg/dingo"
)

func InitOpenInterfaceRouter() dingo.ApiRouter {
	return func(g *gin.RouterGroup) {
		{
			o := g.Group("openInterface")
			o.Use(middlewares.SignAuthMiddleware)

			o.POST("getPlaceId", openinterface.DeviceSnGetPlaceInfo)
		}
	}
}
